const Router = require('koa2-router');
const colluser=require('./coll/user')
const router = new Router();

router.get('/',async(ctx)=>{
    ctx.body={
        code:200,
        meg:'success',
        data:null
    }
})


router.post('/user/registry',colluser.registry)
router.post('/user/login',colluser.login)
module.exports=router